<?php $this->load->view('header') ?>

  <!-- CONTENT -->
<div id="content">
<div class="column full">
		
		<div class="box">
		<div class="box-header"><?php echo get_title();?></div>
		<div class="box-content">

      <?php echo anchor('myuser/group/detail/id/'.$uri_to_assoc['id'].'#user' , '<span class="icon_text preview"></span> Group '.$this->lang->line('global_detail') , 'class="button white fr"'); ?>
       <br /><br />

        <?php if (isset($errorMessage)) : ?>
            <div class="notification <?php echo ((isset($isSuccess) && $isSuccess) ? 'success' : 'error');?>"><?php echo $errorMessage; ?></div>
        <?php endif; ?>

            <?php echo form_open('myuser/group/userView/id/'.$uri_to_assoc['id'].'/time/' . time(),array('name'=>'groupUserView2','id'=>'groupUserView2','class'=>'frModalLoad')); ?>
            <div class="width10 fl">
                <label class="form-label">List User</label>
            </div>
            
            <div class="width90 fr">
                <?php foreach($dataView as $row) : ?>
                    <p>
                    	<?php //?>
                    	&nbsp;<?php echo form_checkbox('userId['.$row['userId'].']' , $row['userId'] , !empty($row['groupId']) ? TRUE : FALSE)?>
                    	<?php echo $row['userLogin']?>
                    </p>
                <?php endforeach;?>
            </div>

      		<br /><br />
            <div class="width90 fr">
                &nbsp;&nbsp;<?php echo form_submit('submit','Simpan','class="button themed"');?>
            </div>          
            </form>
            
            <p>&nbsp;</p> 
            <div class="clear"></div>
		</div>
		</div>
	
	</div>
	</div>
	</div>

<script type="text/javascript" src="<?php echo base_url()?>js/libs/plugin/facebook/1.2.2/facebook.js"></script>
<?php $this->load->view('footer') ?>